package supermarket;

public enum Category {
    FOOD(10,20),
    COOK(200,2000),
    SNACK(5,100),
    CLOTHES(200,1000),
    ELECTRIC(200,10000);
    int lowerPrice;
    int highPrice;
    Category(int lowerPrice,int highPrice){
        this.lowerPrice=lowerPrice;
        this.highPrice=highPrice;
    }
    public int getLowerPrice(){return lowerPrice;}
    public void setLowerPrice(int lowerPrice){this.lowerPrice=lowerPrice;}
    public int getHighPrice(){return highPrice;}
    public void setHighPrice(int highPrice){this.highPrice=highPrice;}
}
